package dblayer;

import java.util.ArrayList;

import modellayer.Employee;

public interface IFDBEmployee {

	public ArrayList<Employee> getAllEmployee();
	
	public Employee searchByID(int id);
	public Employee searchByName(String name);
	public Employee searchByPhone(int phone);
	public Employee searchByAddress(String address);
	public Employee searchByEmail(String email);
	public Employee searchByZipCode(int zipCode);
	
	public int insertEmployee(Employee emp) throws Exception;
	public int updateEmployee(Employee emp);
	public int deleteEmployee(int id);
}
